import java.util.Random;

public class FakeTextGenerator {
    public static void main(String[] args) {
        FakeTextGenerator generator = new FakeTextGenerator();
        String fakeText = generator.generateFakeText(100);
        System.out.println(fakeText);
    }

    public String generateFakeText(int length) {
        String[] words = {"Lorem", "ipsum", "dolor", "sit", "amet", "consectetur", "adipiscing", "elit", "Fusce", "molestie", "turpis", "nec", "felis", "malesuada", "accumsan", "Vestibulum", "tincidunt", "lacus", "nec", "nulla", "dignissim", "blandit", "Morbi"};
        Random random = new Random();
        StringBuilder sb = new StringBuilder();

        for (int i = 0; i < length; i++) {
            int index = random.nextInt(words.length);
            sb.append(words[index]);
            if (i < length - 1) {
                sb.append(" ");
            }
        }

        return sb.toString();
    }
}
